<?php
require_once DIR_CLASSES.'type.php';
include_once DIR_DB_CLASSES.'db_measure.php';
include_once DIR_DB_CLASSES.'db_type.php';

/**
 * Description of MeasureType
 *
 * @author GHoogendoorn
 * @version 0.1
 * 
 * Version history
 * 0.1  GHoogendoorn    0.1 Initial version
 */
class MeasureType extends Type{
    
    public function __construct($id='') {
        parent::__construct(new DbMeasure($id), FIELD_MEASURE_NAME, FIELD_MEASURE_DESC,$id);
    }
	
	    public function showIds(){
        $meting = new DbMeasure();
        $meting->showIds();
    }
    
}
  


class TestMeasureType {

    public function TestMeasureType() {
        $test_measure = new MeasureType();

       echo "<pre>";
       var_dump($test_measure);
       echo "</pre>";
    }

}


?>
